package com.sanpu.kxe.common.enums;

import com.sanpu.kxe.R;

/**
 * Description：会员等级
 * Created by 薛勇军 on 2018/7/31.
 */

public enum Level {

    LEVEL1("1", "客官", R.color.level1),
    LEVEL2("2", "店家", R.color.level2),
    LEVEL3("3", "账房", R.color.level3),
    LEVEL4("4", "掌柜", R.color.level4);

    private String value;
    private String title;
    private int colorRes;

    Level(String value, String title, int colorRes) {
        this.value = value;
        this.title = title;
        this.colorRes = colorRes;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getColorRes() {
        return colorRes;
    }

    public void setColorRes(int colorRes) {
        this.colorRes = colorRes;
    }
}
